package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;

import java.util.List;

public interface RoleService {
	/*查询所有角色*/
	List<Role> findAllRoles();

	PageResult findAll(QueryPageBean queryPageBean);

    void add(Role role,Integer[] checkitemIds,Integer[] menukitemIds);

	Role findById(Integer id);

	Integer[] findR_P(Integer id);

    void update(Role role,Integer[] checkitemIds,Integer[] menukitemIds );

	void del(Integer id);
}
